package com.qk.dm.metadata.feign;

import net.minidev.json.JSONObject;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(value = "dm-datasource", path = "/ds")
public interface DataSourceFeign {

  /**
   * 获取连接数据库信息
   *
   * @return
   */
  @GetMapping("/datasource/getdatatype")
  ResponseEntity<JSONObject> getdatatype();
}
